<div class="user-profile-container">
    <div class="panel panel-default">
        <div class="panel-heading">基本资料</div>
        <div class="panel-body">
            <form class="form-horizontal" role='form' [formGroup]='form'>
                <div *ngFor="let field of fields,let i = index" class='form-group'>
                    <form-control [form]='form' [field]='field'></form-control>
                </div>
            </form>
        </div>
    </div>
</div>
